package com.cashmama.market.api.infras.enums.user;

/**
 * Created with IntelliJ IDEA.
 * User: 张士鹏
 * Date: 2018/10/17
 * Time: 上午11:06
 */
public enum UserProfileJumpTypeEnum {

    BASE_INFO_TAB_ALL("URL/personInformation?type=1", "Personal info has been completed"),
    KYC("URL/uploadAadhaar", "AADHAAR"),
    KYC_DOCUMENTS("URL/kycdocuments", "AADHAAR"),//kyc 4选一页面
    AADHAAR_NUMBER("URL/aadhaarnumber", "验证aadhaar号码页"),//advanceAi 验证aadhaar
    EMPLOYMENT_INFO("URL/personInformation?type=2", "Employment info has been completed"),
    RE_EDIT_USER_BANK("URL/bankDetails?status=2&reedit=1", "RE_EDIT_BANK"),
    BANK_CARD_AUTHORIZED("URL/bankDetails?status=1&reedit=0", "Personal info is not completed"),
    BANK_CARD_NOT_AUTHORIZED("URL/bankDetails?status=0&reedit=0", "Bank card has been certified"),
    RE_UPLOAD_AADHAAR("URL/uploadAadhaar", "AADHAAR"),
    RE_UPLOAD_PAN("URL/panCard", "PAN"),
    CARRIER("URL/carrier", "Not certified"),
    FACEBOOK("URL/facebook?authChannelCode=", "Facebook certified"),
    OLA("URL/facebook?authChannelCode=", "Ola certified"),
    HIGH_MARK("URL/highmark", "High mark"),//答题页
    HIGH_MARK_AGREEMENT("URL/highmarkauthorization", "High mark agreement"),//highmark授权页

    BASE_INFO_TAB_PREFIX("APP/PROFILE/BASE_INFO?TAB=", "Bank card has been certified"),
    ID_FACE("APP/PROFILE/ID_FACE", "Carrier certificatio"),
    ZM_CREDIT_AUTHORIZED("APP/PROFILE/ZM_CREDIT_AUTHORIZED", ""),
    ZM_CREDIT("APP/PROFILE/ZM_CREDIT", ""),
    RE_EDIT_USER_BUTTON("APP/RenderTemplate/ReeditHintPage", "RE_EDIT_BUTTON"),
    RE_EDIT_USER_PROFILE_BASIC("APP/CLViewControllerReeditBasic", "RE_EDIT_BASIC"),
    RE_EDIT_USER_PROFILE_WORKING("APP/CLViewControllerReeditWorking", "RE_EDIT_WORKING"),
    RE_EDIT_USER_PROFILE_REFERENCE("APP/CLViewControllerReeditReference", "RE_EDIT_REFERENCE"),
    EMAIL("URL/emailVerify", "EMAIL"),
    PAN_CARD("APP/PROFILE/PAN_CARD", "PAN CARD"),
    URL_JS("URL/JS/", "JS"),
    QUOTA_EVALUATE("APP/PROFILE/EVALUATE", "User quota assessment"),
    HOME("APP/PROFILE/HOME", "Home page"),
    ACTION_LIST("APP/PROFILE/USERDATALIST", "Information list page"),
    ;

    private String jumpUrl;
    private String desc;

    UserProfileJumpTypeEnum(String jumpUrl, String desc) {
        this.jumpUrl = jumpUrl;
        this.desc = desc;
    }

    public String getJumpUrl() {
        return jumpUrl;
    }

    public UserProfileJumpTypeEnum setJumpUrl(String jumpUrl) {
        this.jumpUrl = jumpUrl;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public UserProfileJumpTypeEnum setDesc(String desc) {
        this.desc = desc;
        return this;
    }
}
